import request from '@/utils/request'

//统一字典下拉框查询
export function adminDict(params) {
    return request({
        url: `common/v1/adminDict`,
        method: 'get',
        params
    })
}

// 查询数字权益卡购卡账单查询列表
export function listEquityCardBill(query) {
  return request({
    url: '/fundsManager/equityCardBill/list',
    method: 'get',
    params: query
  })
}

// 查询数字权益卡购卡账单查询详细
export function getEquityCardBill(id) { 
  return request({
    url: '/fundsManager/equityCardBill/' + id,
    method: 'get'
  })
}

// 新增数字权益卡购卡账单查询
export function addEquityCardBill(data) {
  return request({
    url: '/fundsManager/equityCardBill',
    method: 'post',
    data: data
  })
}

// 修改数字权益卡购卡账单查询
export function updateEquityCardBill(data) {
  return request({
    url: '/fundsManager/equityCardBill',
    method: 'put',
    data: data
  })
}

// 删除数字权益卡购卡账单查询
export function delEquityCardBill(id) {
  return request({
    url: '/fundsManager/equityCardBill/' + id,
    method: 'delete'
  })
}

// 导出数字权益卡购卡账单查询
export function exportEquityCardBill(query) {
  return request({
    url: '/fundsManager/equityCardBill/export',
    method: 'get',
    params: query
  })
}
